package com.qiandao.xuexitong.dto;

import com.qiandao.xuexitong.entity.AttendanceTask;
import com.qiandao.xuexitong.enums.AttendanceTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ApiModel("学生签到任务信息")
public class StudentAttendanceTaskDTO {
    
    @ApiModelProperty("签到任务ID")
    private Long id;
    
    @ApiModelProperty("班级ID")
    private Long classroomId;
    
    @ApiModelProperty("班级名称")
    private String classroomName;
    
    @ApiModelProperty("教师ID")
    private Long teacherId;
    
    @ApiModelProperty("教师姓名")
    private String teacherName;
    
    @ApiModelProperty("签到方式")
    private AttendanceTypeEnum type;
    
    @ApiModelProperty("开始时间")
    private LocalDateTime startTime;
    
    @ApiModelProperty("结束时间")
    private LocalDateTime endTime;
    
    @ApiModelProperty("签到状态：0-未开始，1-进行中，2-已结束")
    private Integer status;
    
    @ApiModelProperty("学生签到状态：0-未签到，1-已签到，2-迟到，3-缺勤")
    private Integer studentStatus;
    
    @ApiModelProperty("学生签到时间")
    private LocalDateTime signTime;
} 